package com.yuexun.beilunpatient.base;

import java.util.ArrayList;

/**
 * Created by Administrator on 2017/4/6 0006.
 */

public class BaseEntity<T> {
    /**
     * status : 200
     * flag : SUCCESS
     * message : 操作成功
     * action : inquireRepairListForMyself
     * version : v1.0
     * format : json
     * pageIndex : 1
     * pageSize : 20
     * totalPageCount : 1
     * totalRecordCount : 1
     * datas : [{"fromName":"章友棣","lastFromName":"章友棣","lastToName":"丁妙妙","repairId":"28","startDate":"2017-02-22 16:59","state":"流转中","title":"测试","toName":"丁妙妙","type":""}]
     */

    private String status;
    private String flag;
    private String message;
    private String action;
    private String version;
    private String format;
    private int pageIndex;
    private int pageSize;
    private int totalPageCount;
    private int totalRecordCount;
    private ArrayList<T> datas;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalPageCount() {
        return totalPageCount;
    }

    public void setTotalPageCount(int totalPageCount) {
        this.totalPageCount = totalPageCount;
    }

    public int getTotalRecordCount() {
        return totalRecordCount;
    }

    public void setTotalRecordCount(int totalRecordCount) {
        this.totalRecordCount = totalRecordCount;
    }

    public ArrayList<T> getDatas() {
        return datas;
    }

    public void setDatas(ArrayList<T> datas) {
        this.datas = datas;
    }
}
